package com.ebupt.migu.common.util;

/**
 * Created by Intellij IDEA.
 * User:  liuyangyang@cd.ebupt.com
 * Date:  2019/9/14
 * 运营策略中的常量参数
 */
public class StrategyConstants {

    // 策略类型
    // 短信策略
    public static final byte TYPE_SMS = 1;
    // banner策略
    public static final byte TYPE_BANNER = 2;
    // 音乐之声策略
    public static final byte TYPE_MUSIC = 3;
    // PUSH策略
    public static final byte TYPE_PUSH = 4;
    // 弹窗策略
    public static final byte TYPE_POPUP = 5;

    // 策略执行状态
    // 待审核
    public static final byte EXECUTE_CHECKING = 1;
    // 已驳回
    public static final byte EXECUTE_REJECTED = 2;
    // 未开始
    public static final byte EXECUTE_UNEXECUTED = 3;
    // 进行中
    public static final byte EXECUTE_ONGOING = 4;
    // 已终止
    public static final byte EXECUTE_TERMINATED = 5;
    // 已结束
    public static final byte EXECUTE_ENDED = 6;
    // 已删除
    public static final byte EXECUTE_DELETED = 7;

    // 任务类型
    // 立即执行
    public static final byte JOB_IMMEDIATE = 1;
    // 单次执行
    public static final byte JOB_ONCE = 2;
    // 重复执行
    public static final byte JOB_REPEAT = 3;
    // 间隔执行
    public static final byte JOB_INTERVAL = 4;

    public static final String ARK_IMPORT_GROUP = "10";

    public static final String ARK_IMPORT_SEND_STATE_SUCCESS = "1";

    public static final String ARK_IMPORT_SEND_STATE_FAIL = "0";

    //大营销协议版本号
    public static final String MEGAMARKET_VERSION = "1.0";

    //大营销平台发送模式
    public static final String MEGAMARKET_SENDTYPE_SMS = "sms";

    //大营销平台，文本还是图片
    public static final String MEGAMARKET_CONTENTTYPE_TEXT = "TEXT";

    //大营销平台，直接发还是模板发，0为模板
    public static final String MEGAMARKET_MSGTYPE = "0";


}
